package com.yls.autoapply.util;

public class CmdUtil {

    public static final String deploy = "kubectl get deployment -o yaml -n %s | grep -E  \"image:.*:.*\" | awk '!a[$0]++{print}'";
    public static final String daemon = "kubectl get daemonset -o yaml -n %s | grep -E  \"image:.*:.*\" | awk '!a[$0]++{print}'";
    public static final String tag = "docker tag %s %s";
    public static final String push = "docker push %s";
    public static final String image = "docker images | grep %s";
    public static final String cat = "cat %s | grep %s";
    public static final String sed = "sed -i 's#%s#%s#g' %s";
    public static final String apply = "kubectl apply -f %s";
    public static final String unzip = "unzip -d %s %s";
    public static final String build = "docker build -t ultra-iga-web:latest %s";
    public static final String rmdir = "rm -rf %s";

}
